package com.org.dto;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.Date;
import java.util.List;

public class SysRegionDto implements Serializable {

    @TableId("REGION_ID")
    private Integer regionId;

    @TableField("REGION_CODE")
    private String regionCode;

    @TableField("REGION_NAME")
    private String regionName;

    @TableField("PARENT_ID")
    private Integer parentId;

    @TableField("REGION_LEVEL")
    private Integer regionLevel;

    @TableField("REGION_ORDER")
    private Integer regionOrder;

    @TableField("REGION_NAME_EN")
    private String regionNameEn;

    @TableField("REGION_SHORTNAME_EN")
    private String regionShortnameEn;

    /**
     * 开通城市 0 未开通 1 已开通
     */
    @TableField("FLAG")
    private Integer flag;

    private Date updateTime;

    private List<SysRegionDto> sysRegionDtoList;


    @Override
    public String toString() {
        return "SysRegionDto{" +
                "regionId=" + regionId +
                ", regionCode='" + regionCode + '\'' +
                ", regionName='" + regionName + '\'' +
                ", parentId=" + parentId +
                ", regionLevel=" + regionLevel +
                ", regionOrder=" + regionOrder +
                ", regionNameEn='" + regionNameEn + '\'' +
                ", regionShortnameEn='" + regionShortnameEn + '\'' +
                ", flag=" + flag +
                ", updateTime=" + updateTime +
                ", sysRegionDtoList=" + sysRegionDtoList +
                '}';
    }

    public Integer getRegionId() {
        return regionId;
    }

    public void setRegionId(Integer regionId) {
        this.regionId = regionId;
    }

    public String getRegionCode() {
        return regionCode;
    }

    public void setRegionCode(String regionCode) {
        this.regionCode = regionCode;
    }

    public String getRegionName() {
        return regionName;
    }

    public void setRegionName(String regionName) {
        this.regionName = regionName;
    }

    public Integer getParentId() {
        return parentId;
    }

    public void setParentId(Integer parentId) {
        this.parentId = parentId;
    }

    public Integer getRegionLevel() {
        return regionLevel;
    }

    public void setRegionLevel(Integer regionLevel) {
        this.regionLevel = regionLevel;
    }

    public Integer getRegionOrder() {
        return regionOrder;
    }

    public void setRegionOrder(Integer regionOrder) {
        this.regionOrder = regionOrder;
    }

    public String getRegionNameEn() {
        return regionNameEn;
    }

    public void setRegionNameEn(String regionNameEn) {
        this.regionNameEn = regionNameEn;
    }

    public String getRegionShortnameEn() {
        return regionShortnameEn;
    }

    public void setRegionShortnameEn(String regionShortnameEn) {
        this.regionShortnameEn = regionShortnameEn;
    }

    public Integer getFlag() {
        return flag;
    }

    public void setFlag(Integer flag) {
        this.flag = flag;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public List<SysRegionDto> getSysRegionDtoList() {
        return sysRegionDtoList;
    }

    public void setSysRegionDtoList(List<SysRegionDto> sysRegionDtoList) {
        this.sysRegionDtoList = sysRegionDtoList;
    }
}
